package com.yituo.dao;

import com.yituo.vo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;
@Mapper

public interface DeptDao {
    @Cacheable(value="dept",key="'deptList'")
    public List<Dept> queryAllDept();
}
